json

type json

Wrapper object for a JSON-string.

Since

0.6.0

Constructors

Link copied to clipboard
pure constructor(value: text)

Constructs a JSON value from a string. Fails if the string is not valid json.

Functions

Link copied to clipboard
(alias) pure function str(): text

Converts the JSON value to a string.

Alias
Link copied to clipboard
pure function to_text(): text

Converts the JSON value to a string.